package com.hospital.hms.service;
import com.hospital.hms.pojo.User;
import com.hospital.hms.utils.PageUtils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public interface UserService {


    public Integer userLogin(HashMap map);

    public Set<String> selectUserPrivileges(int userId);

    int updateUserPassword(Map map);

    HashMap selectUserDetails(int userId);

    PageUtils selectUserByCondition(HashMap param);

    int insert(User user);

    int update(HashMap param);

    int deleteUserByIds(Integer[] ids);

    HashMap selectById(int userId);

    ArrayList<HashMap> selectAllUser();
}
